<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Welcome to CodeIgniter</title>

	<link rel="stylesheet" href="/js/vendor/slickgrid/slick.grid.css"/> 
	<link rel="stylesheet" href="/js/vendor/slickgrid/css/smoothness/jquery-ui-1.8.5.custom.css"/> 
	<link rel="stylesheet" href="/js/vendor/slickgrid/examples/examples.css"/>
</head>
<body>

<h1>Welcome to CodeIgniter!</h1>
<button id="trigger">Click me!</button>
<div id="cargo" style="width:500px;height:500px"></div>

<script src="/js/vendor/slickgrid/lib/jquery-1.4.3.min.js"></script> 
<script src="/js/vendor/slickgrid/lib/jquery.event.drag-2.0.min.js"></script> 
<script src="/js/vendor/slickgrid/dist/slick.grid-1.4.3.min.js"></script> 
<script src="/js/vendor/slickgrid/lib/jquery-ui-1.8.5.custom.min.js"></script>
<script src="/js/widgetframework.js"></script>
<script>
$(function() {
	$('#trigger').click(function() {
		addWidget('/ismsv2/index.php/welcome/detail', $('cargo'));
	})
})
</script>
</body>
</html>